package com.chpro.scsw.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.chpro.scsw.dao.IMenuDao;
import com.chpro.scsw.model.MenuModel;

@Repository
public class MenuDaoImpl extends BaseDaoImpl<MenuModel> implements IMenuDao {

	public List<MenuModel> queryMenuList() throws Exception {
//		List<MenuModel> result = new ArrayList<MenuModel>();
		
//		result.add(new MenuModel("最新","new"));
//		result.add(new MenuModel("热门","tj"));
//		result.add(new MenuModel("随缘","random"));
//		result.add(new MenuModel("加油赚","category/books"));
//		result.add(new MenuModel("排行榜","users"));
		List<MenuModel> result = super.getAllList("com.chpro.scsw.dao.MenuMapper.queryMenuAll");
		
		return result;
	}

}
